﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Utils.Extention;
#region Version Info
/* ========================================================================
* 【本页面功能概述】
*
* 作者：wangjianfeng 创建时间：2012/9/19 11:31:09
* 文件名：Top.cs
*
* 修改者： 时间：
* 修改说明：
* ========================================================================
*/
#endregion
namespace ChinaLeg.Web.UserControls
{
    public partial class Top : System.Web.UI.UserControl
    {

        public int CatId { get; set; }

        private string _bgImage;
        public string BgImage { 
            get {
                if (_bgImage.IsNullOrEmpty())
                    return "/images/banner.jpg";
                return _bgImage;
            }
            set { _bgImage = value; }
        }

        protected void Page_Load(object sender, EventArgs e)
        {

        }
    }
}